package com.peanuts.tender.dao;

import com.peanuts.tender.pojo.Tender;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TenderMapper {
    int deleteByPrimaryKey(@Param("id") Integer id, @Param("titleUrl") String titleUrl);

    int insert(Tender record);

    Tender selectByPrimaryKey(Integer id);

    List<Tender> selectAll(String type);

    int updateByPrimaryKey(Tender record);

    List<Tender> keywordSearch(String keyword);
}